-- GENERATED SPELL FOR [Apothecary Chemist] --


function spell0_32395(pUnit, Event) --@Vial of Blight,n/a--
pUnit:FullCastSpellOnTarget(59122,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32395', 11000, 1)
end

function Sorts_32395(pUnit, Event)
local choix_sorts_32395 = math.random(0, 0)
if choix_sorts_32395 == 0 then
pUnit:RegisterEvent('spell0_32395', 1, 1)
end
end

function mob32395_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32395', math.random(1500, 3000), 1)
end

function mob32395_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32395_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32395_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32395, 1, 'mob32395_Action')
RegisterUnitEvent(32395, 2, 'mob32395_Leave')
RegisterUnitEvent(32395, 3, 'mob32395_Kill')
RegisterUnitEvent(32395, 4, 'mob32395_Die')
